package com.jz.legalpersonclass.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by WISE on 2021/12/27.
 */
@Data
public class LegalPersonUpdateVo {
    @NotNull(message = "ID不能为空")
    private Integer id;
    @NotBlank(message = "名称不能为空")
    private String legalPersonName;

    @NotNull(message = "状态不能为空")
    private Boolean enabled;

    private  Integer version;


}
